package com.duolai.bean;

/**
 * @program: duolai-spring-01
 * @description: BeanDefinition
 * @author: chaidl  ！
 * @create: 2021-09-04 14:51
 */
public class BeanDefinition {
    /**
     * 类型
     */
    private Class type;
    /**
     * 作用域，单例还是多例
     */
    private String scope;
    /**
     * 是否懒加载
     */
    private boolean isLazy;

    public Class getType() {
        return type;
    }

    public void setType(Class type) {
        this.type = type;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public boolean isLazy() {
        return isLazy;
    }

    public void setLazy(boolean lazy) {
        isLazy = lazy;
    }
}
